package com.gxa.saas.service;

import com.gxa.saas.pojo.Client;

import java.util.List;
import java.util.Map;

public interface ClientService {
    List<Client> selectByPage(Integer page, Integer limit);

    List<Client> selectByNameOrContactpersonOrCreatypersonOrLeaderperson(Map map);

    Client selectByPhone(String phone);

    Integer inert(Client client);

    void delete(Integer id);

    void update(Client client);

    List<Client> selectAll();
}